package com.bw.dg.dao;

import com.bw.dg.pojo.Asset;
import org.apache.ibatis.annotations.Param;
import java.util.List;

public interface AssetDao {

    List getAssetList();

    List<Asset> findByXid();

    String[] delete(@Param("id") String id);

    Asset add(Asset asset);

//    PageResult findPage(@Param("pageNum") int pageNum, @Param("pageSize") int pageSize);

    Asset findOne(Long id);

    String update(Asset asset);

    List findList();
}
